import Vue from 'vue'
import App from "./App.vue"
import router from './router'
import store from './store'
import axios from 'axios'
import ElementUI from 'element-ui';
import { Message } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/global.css'

Vue.config.productionTip = false

Vue.use(ElementUI)

Vue.prototype.$http = axios//配置http请求
axios.defaults.baseURL = 'http://139.9.128.192:8080/'//请求路径
// axios.defaults.baseURL = 'http://localhost:8080/'
axios.defaults.withCredentials = true
Vue.config.productionTip = false

Vue.prototype.$message = Message

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
